<?php

if(file_exists(APP_ROOT_PATH.'public/db_config.php'))
{
$db_config	=	require APP_ROOT_PATH.'public/db_config.php';
}
if(file_exists(APP_ROOT_PATH.'public/sys_config.php'))
{
$db_conf	=	require APP_ROOT_PATH.'public/sys_config.php';
}
if(file_exists(APP_ROOT_PATH.'public/version.php'))
{
$version	=	require APP_ROOT_PATH.'public/version.php';
}
if(file_exists(APP_ROOT_PATH.'public/timezone_config.php'))
{
$timezone	=	require APP_ROOT_PATH.'public/timezone_config.php';
}
if(is_array($db_config))
$config = array_merge($db_conf,$db_config,$version,$timezone);
elseif(is_array($db_conf))
$config = array_merge($db_conf,$version,$timezone);
else
$config = array_merge($version,$timezone);
return $config;
?>